home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Top 100 Games
/
Top 100 Games.iso
/
p
/
P.BAT
next >
Wrap
DOS Batch File
|
1997-10-31
|
670b
|
40 lines
@echo off
cls
if x%1 == xinstall goto install
if x%1 == xreins goto reins
if not exist c:\ts\p\p.exe goto temp
:install
if exist c:\ts\p\p.exe goto insready
:reins
if exist c:\ts\ts goto install2
md c:\ts > NUL:
echo ts > c:\ts\ts
:install2
md c:\ts\p > NUL:
\pkunzip -o p.zip c:\ts\p > NUL:
:insready
c:
cd \ts\p
p.exe
goto einde
:temp
md c:\ts_tmp > NUL:
if not exist c:\ts_y copy \y c:\ts_y > NUL:
\pkunzip -o p.zip c:\ts_tmp > NUL:
c:
cd \ts_tmp
p.exe
c:
cd \
del c:\ts_tmp\*.* < c:\ts_y > NUL:
rd c:\ts_tmp
del c:\ts_y > NUL:
goto einde
:einde
@echo off
cls